package com.homegoods.discover.item;

import com.homegoods.discover.R;
import com.homegoods.discover.model.ActivityModel;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;

/**
 * @author QiQi
 * @ClassName: ActivityItem
 * @date 2018/10/3
 * @description 宅品活动
 */
public class ActivityItem extends BaseItem<ActivityModel> {
    public ActivityItem(ActivityModel data, MultiTypeAdapter adapter) {
        super(data);

        setOnClickListener(v -> {

        });
    }


    public String getDate() {
        return getData().getDate();
    }

    public String getImgUrl() {
        return getData().getImgUrl();
    }

    public String getTitle() {
        return getData().getTitle();
    }


    @Override
    public int getLayout() {
        return R.layout.discover_item_activity;
    }
}
